from flask_wtf import FlaskForm
from wtforms import StringField, SubmitField
from wtforms.validators import DataRequired


class SearchForm(FlaskForm):
    searchbox = StringField('您想搜索什么呢?', validators=[DataRequired()])
    submit = SubmitField('搜索')
